package com.nf.practice.mapper;

import com.nf.practice.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;

@Mapper
@Repository
public interface UserMapper {

    int updateUser(User user);

    int deleteUser(Integer id);

    int saveUser(User user);

    List<User> queryAllUser();
}
